package com.shen.eduorder;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {"com.shen"})
@MapperScan("com.shen.eduorder.mapper")
@EnableDiscoveryClient // nacos 注册
@EnableFeignClients //允许远程调用
public class orderAppliaction {
     public static void main(String[] args) {
             SpringApplication.run(orderAppliaction.class, args);
             System.out.println("orderAppliaction 8007");
     }
}
